//
//  CLWorkAreaDetailCell.m
//  ZhuKuang
//
//  Created by jjkj on 17/7/11.
//  Copyright © 2017年 jjkj. All rights reserved.
//

#import "CLWorkAreaDetailCell.h"
#import "CarShopModel.h"

@implementation CLWorkAreaDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setObjectWith:(CarShopModel *)carShop checkType:(NSInteger)checkType {
    
    if (0 == checkType) {
        
        self.driverOrCarName.text = carShop.driver;
    }else {
        
        self.driverOrCarName.text = carShop.car;
    }
    self.oilLoss.text = [NSString stringWithFormat:@"%0.2f",[carShop.iolloss floatValue]];
    self.mile.text = [NSString stringWithFormat:@"%0.2f",[carShop.mile floatValue]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
